package com.rockblade.generator.core.domain;

import java.io.Serializable;
import java.util.List;

/**
 * 分页返回
 *
 * @author DB
 * @create 2021-08-26 15:51
 */
public class PageReturn<T1, T2> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 返回实体类集合
     */
    private List<T1> entityList;

    /**
     * 重构class
     */
    private List<T2> listVos;

    public PageReturn() {
    }

    public PageReturn(List<T1> entityList, List<T2> listVos) {
        this.entityList = entityList;
        this.listVos = listVos;
    }

    public List<T1> getEntityList() {
        return entityList;
    }

    public void setEntityList(List<T1> entityList) {
        this.entityList = entityList;
    }

    public List<T2> getListVos() {
        return listVos;
    }

    public void setListVos(List<T2> listVos) {
        this.listVos = listVos;
    }
}
